extends tpl/basic.pug
append vars
  - var title ="案例"
append style
  link(rel="stylesheet", href="style/case.css")
block page
  +header()
  .container
      .case
        +casecon('最新案例','new case')
        ul.caseul
          -
            var cases=[{
            img:'./image/case-1.png',
            url:'./breeze'
            },{
            img:'./image/case-2.png',
            url:'./casehuiauto'
            },{
            img:'./image/case-4.png',
            url:'./netletter'
            },{
            img:'./image/medical.png',
            url:'./medicalcase'
            },{
            img:'./image/case-6.png',
            url:'#'
            },{
            img:'./image/case-7.png',
            url:'#'
            },{
            img:'./image/case-8.png',
            url:'#'
            },{
            img:'./image/case-9.png',
            url:'#'
            },{
            img:'./image/morecase3.png',
            url:'#'
            }]
          each val in cases
            li
              .img
                a(href=val.url + ".html")
                  img(src=val.img)
      .case
        +casecon('更多案例','More Case')
        ul.caseul
          -
            var morecases=['./image/morecase1.png',
            './image/morecase2.png',
            './image/morecase3.png',
            './image/morecase4.png',
            './image/morecase5.png',
            './image/morecase6.png',
            './image/morecase7.png',
            './image/morecase8.png',
            './image/morecase9.png'
            ]
          each val in morecases
            li
              .img
                a
                  img(src=val)
        .more
          a 更多案例



